//
//  SCAPageControl.h
//  Staff
//
//  Created by caiyao on 2/2/15.
//
//

#import <UIKit/UIKit.h>

@protocol SCAPageControlDelegate <NSObject>

- (void)selectedPageAtIndex:(NSInteger)index;

@end

@interface SCAPageControl : UIView {
    NSMutableArray *buttons;
}

@property (nonatomic, assign) NSInteger currentPage;
@property (nonatomic, assign) NSInteger numberOfPages;
@property (nonatomic, assign) id<SCAPageControlDelegate> delegate;

@end
